home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20031118-20041115 / 000370_broezell@cig.mot.com_Wed Aug 25 12:23:42 2004.msg < prev    next >
Internet Message Format  |  2004-11-14  |  2KB

  1. Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.harvard.edu!news.dfci.harvard.edu!news.ccs.neu.edu!newsfeed1.e.nsc.no!uninett.no!feed.news.tiscali.de!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.sea.pnap.net!newsfeed2.sea.pnap.net!newsfeed.pnap.net!newsgate.mot.com!newshost.mot.com!avnika.corp.mot.com!broezell
  2. From: broezell@cig.mot.com (Ken V. Broezell {QMCS11})
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: input/minput commands
  5. Date: Wed, 25 Aug 2004 14:45:38 +0000 (UTC)
  6. Organization: Motorola, Inc.
  7. Lines: 23
  8. Message-ID: <cgi8mi$d1r$1@avnika.corp.mot.com>
  9. NNTP-Posting-Host: login4.cig.mot.com
  10. X-Trace: avnika.corp.mot.com 1093445138 13371 160.22.92.95 (25 Aug 2004 14:45:38 GMT)
  11. X-Complaints-To: news@avnika.corp.mot.com
  12. NNTP-Posting-Date: Wed, 25 Aug 2004 14:45:38 +0000 (UTC)
  13. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15135
  14.  
  15. Is there a way to get the input/minput command to find an exact match?
  16.  
  17. I want it to find only the string:
  18.  
  19.  login:
  20.  
  21. That's a single space followed by login: and no trailing spaces. Using
  22. the UNIX grep command I would find it using:
  23.  
  24. grep '^ login:$' file_name
  25.  
  26. Instead, input/minput is catching any line with login: within it, such
  27. as:
  28.  
  29. Last login: Tue Aug 17 16:03:20 from 10.195.10.8
  30.  
  31.  
  32. Thanks
  33. --
  34. +-----------------+----------------------------------+------------------------+
  35. |     .     .     |Kenny Broezell                    |phone    :(847) 342-5633|
  36. |    ...   ...    |Customer Network Resolution Center|alt phone:(847) 632-5390|
  37. |   ..... .....   |1501 Shure Drive                  |fax      :(847) 632-3157|